import React from 'react';
import { BrowserRouter, Route, Switch } from 'react-router-dom';
import { Header } from './components/header/Header.jsx';
import { NotFound } from './pages/NotFound.jsx';


const Home = ({ match }) => {
    return (
        <Switch>
            <Route path={`${match.url}/meetingDisplay`} component={NotFound} />
            <Route component={NotFound} />
        </Switch>
    );
};
export const App = () => (
    <BrowserRouter>
        <div className="rl">
            <Header />
            <Switch>
                <Route path="/" component={NotFound} />
                <Route path="/home" component={Home} />
                <Route component={NotFound} />
            </Switch>
        </div>
    </BrowserRouter>
);
